package com.hurl.waguji.biz;

import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.hurl.waguji.biz.download.DownloadService;

public class UpdateStockListJob implements Job {
	
	private static final Logger log = Logger.getLogger(UpdateStockListJob.class);
	
	@Override
	public void execute(JobExecutionContext context)
			throws JobExecutionException {
		try {
			DownloadService.downloadStockCode();
		} catch (Throwable e) {
			log.error(e);
			e.printStackTrace();
		}
	}

}
